package cn.sdormitory.basedata.dao;

import cn.sdormitory.basedata.entity.BDevice;
import cn.sdormitory.basedata.entity.ClassDevice;
import cn.sdormitory.basedata.vo.BStudentLeaveListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: lx
 * @date: 2023/8/15 16:13
 * @description:
 */
@Mapper
@Component
public interface ClassDeviceDao extends BaseMapper<ClassDevice> {
    List<BStudentLeaveListVo> getStudentLeaveAllList(@Param("studentNo") String studentNo,@Param("studentName")  String studentName,@Param("startDate")  String startDate, @Param("endDate") String endDate,@Param("classId")  int classId,@Param("index")int index,@Param("size")int size);
    List<BStudentLeaveListVo> getStudentLeaveStuList(@Param("studentNo") String studentNo,@Param("studentName")  String studentName,@Param("startDate")  String startDate, @Param("endDate") String endDate,@Param("classId")  int classId,@Param("index")int index,@Param("size")int size);
    List<BStudentLeaveListVo> getStudentLeaveSdList(@Param("studentNo") String studentNo,@Param("studentName")  String studentName,@Param("startDate")  String startDate, @Param("endDate") String endDate,@Param("classId")  int classId,@Param("index")int index,@Param("size")int size);
    String getStudentLeaveAllCount(@Param("studentNo") String studentNo,@Param("studentName")  String studentName,@Param("startDate")  String startDate, @Param("endDate") String endDate,@Param("classId")  int classId);
}
